package com.yjd.bi.user.enums;

/**
 * 会员等级
 * Created by yangchangyan on 2018/8/14.
 */
public enum UserLevel {

  NORMAL(1,"普通会员"),
  COPPER(2,"铜牌会员"),
  SILVER(3,"银牌会员"),
  GOLD(4,"金牌会员"),
  DIAMOND(5,"钻石会员"),
  PLATINUM(6,"白金会员");
  ;

  private int code;
  private String label;
  private UserLevel(int code, String label){
    this.code = code;
    this.label = label;
  }

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public String getLabel() {
    return label;
  }

  public void setLabel(String label) {
    this.label = label;
  }
}
